package com.thinkit.bigdata.web.service.perCenter;

import com.thinkit.bigdata.web.model.bus.BusWorkWithBLOBs;
import com.thinkit.bigdata.web.model.result.HtmlResult;
import org.elasticsearch.index.query.BoolQueryBuilder;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.List;

/**
 *
 * Created by hccl on 2018/9/4.
 */
public interface PerCenterService {

    BoolQueryBuilder getQuery(HttpServletRequest request, String logTxt);

    HtmlResult getDataList(HttpServletRequest request);

    HtmlResult getMes(HttpServletRequest request);

    HtmlResult updateDataBySer(HttpServletRequest request) throws  IOException;

    List<BusWorkWithBLOBs> getWorks(String workId);

    List<BusWorkWithBLOBs> getWorksByTime()throws UnknownHostException;
}
